package com.gaoboy.springbootgoods.service;

import com.gaoboy.springbootgoods.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserService {

    List<User> queryAll();

    User doLogin(@Param("username") String username, @Param("password")String password);

    String register(@Param("username") String username, @Param("password")String password);
}
